package com.ciwong.epaper.modules.epaper.bean;

import com.ciwong.epaper.modules.scan.bean.Resourse;
import com.ciwong.mobilelib.bean.BaseBean;

import java.util.List;

/**
 * 请求设备返回结果
 *
 * @author bin
 * @version ciwong v.1.0 2015/8/8 15:59
 * @since ciwong v.1.0
 */
public class NewReadBookNetResultBean extends BaseBean
{


    private static final long serialVersionUID = -7128150252484770451L;
    /**
     * 二维码获取数据地址,即本地key
     */
    private String url;

    /**
     * 二维码名称
     */
    private String codeName;

    /**
     * 资源包ID
     */
    private String packageId;

    public String getPackageCover()
    {
        return packageCover;
    }

    public void setPackageCover(String packageCover)
    {
        this.packageCover = packageCover;
    }

    /**
     * 书籍封面
     */
    private String packageCover;

    /**
     * 资源包名称
     */
    private String packageName;

    /**
     * 目录ID
     */
    private String cId;

    /**
     * 目录名称
     */
    private String cName;

    /**
     * 离线包下载地址
     */
    private String downLoadUrl;

    /**
     * 文件大小
     */
    private String fileSize;

    private int isPublish;
    private String hash;//离线包HASH值
    /**
     * 1新资源，0旧资源
     */
    private int cType;//资源类型

    private int subjectId;


    private List<Resourse> resourceList;


    public void setIsPublish(int isPublish) {
        this.isPublish = isPublish;
    }

    public int getIsPublish() {
        return isPublish;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getCodeName()
    {
        return codeName;
    }

    public void setCodeName(String codeName)
    {
        this.codeName = codeName;
    }

    public String getPackageId()
    {
        return packageId;
    }

    public void setPackageId(String packageId)
    {
        this.packageId = packageId;
    }

    public String getPackageName()
    {
        return packageName;
    }

    public void setPackageName(String packageName)
    {
        this.packageName = packageName;
    }

    public String getcId()
    {
        return cId;
    }

    public void setcId(String cId)
    {
        this.cId = cId;
    }

    public String getcName()
    {
        return cName;
    }

    public void setcName(String cName)
    {
        this.cName = cName;
    }

    public String getDownLoadUrl()
    {
        return downLoadUrl;
    }

    public void setDownLoadUrl(String downLoadUrl)
    {
        this.downLoadUrl = downLoadUrl;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public int getcType() {
        return cType;
    }

    public void setcType(int cType) {
        this.cType = cType;
    }

    public List<Resourse> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<Resourse> resourceList) {
        this.resourceList = resourceList;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }
}
